﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HOUSMS.Master" AutoEventWireup="true" CodeBehind="SinhVien.aspx.cs" Inherits="DoAn.SinhVien" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
    <br />
    <asp:Label ID="lblDanhsach" runat="server" Font-Names="UTM Azuki" 
        Font-Size="30.25pt" ForeColor="HotTrack" Text="KẾT QUẢ THI"></asp:Label>
    <br />
    <br />
    <br />
    <div style="border: solid 1px cornflowerblue; border-radius: 5px; padding: 3px; background: lightblue; vertical-align: middle">
&nbsp;<asp:Label ID="Label1" runat="server" Text="Kỳ:"></asp:Label>
&nbsp;
    <asp:DropDownList ID="ddlKy" runat="server" 
        onselectedindexchanged="ddlKy_SelectedIndexChanged" AutoPostBack="True" 
        Width="66px" ViewStateMode="Enabled" >
    </asp:DropDownList>
&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label2" runat="server" Text="Lớp:"></asp:Label>
&nbsp;&nbsp;
    <asp:DropDownList ID="ddlLop" runat="server" AutoPostBack="True" 
        onselectedindexchanged="ddlLop_SelectedIndexChanged" ViewStateMode="Enabled">
    </asp:DropDownList>
&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label3" runat="server" Text="Môn học:"></asp:Label>
&nbsp;&nbsp;
    <asp:DropDownList ID="ddlMonhoc" runat="server" Width="226px" 
        AutoPostBack="True" onselectedindexchanged="ddlMonhoc_SelectedIndexChanged" 
        ViewStateMode="Enabled">
    </asp:DropDownList>
&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="btnOK" runat="server" Text="OK" onclick="btnOK_Click" />
    </div>
    <br />
    <asp:GridView ID="dgvKetqua" runat="server" AutoGenerateColumns="False" 
        BackColor="#DEBA84" BorderColor="#DEBA84" 
        BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" 
        Font-Bold="False" Width="100%" EnableTheming="True" 
        ShowHeaderWhenEmpty="True">
        <AlternatingRowStyle BorderColor="#3333CC" 
            BorderStyle="Inset" BorderWidth="1px" />
        <Columns>
            <asp:BoundField DataField="TenSV" HeaderText="Tên SV" SortExpression="TenSV">
            <ItemStyle HorizontalAlign="Left" />
            </asp:BoundField>
            <asp:BoundField DataField="NgaySinh" HeaderText="Ngày Sinh"
                SortExpression="NgaySinh" DataFormatString="{0:dd/MM/yyyy}" >
            <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="TenMonHoc" HeaderText="Môn Học" />
            <asp:BoundField DataField="LanThi" HeaderText="Lần Thi" 
                SortExpression="LanThi" >
            <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="DiemThi" HeaderText="Điểm Thi" 
                SortExpression="DiemThi" >
            <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
            <asp:BoundField DataField="DiemThanhPhan" HeaderText="Điểm Thành Phần" 
                SortExpression="DiemThanhPhan">
            <ControlStyle Width="100px" />
            <ItemStyle HorizontalAlign="Center" Width="100px" />
            </asp:BoundField>
            <asp:BoundField DataField="DiemTongKet" HeaderText="Điểm Tổng Kết" 
                SortExpression="DiemTongKet">
            <ItemStyle HorizontalAlign="Center" />
            </asp:BoundField>
        </Columns>
        <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
        <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
        <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
        <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#FFF1D4" />
        <SortedAscendingHeaderStyle BackColor="#B95C30" />
        <SortedDescendingCellStyle BackColor="#F1E5CE" />
        <SortedDescendingHeaderStyle BackColor="#93451F" />
    </asp:GridView>
    </form>
</asp:Content>
